package com.wx.util;

import java.sql.Connection;
import java.sql.DriverManager;

public class DBUtil {
	public static Connection getConnection() throws Exception{
		Class.forName("com.mysql.jdbc.Driver");
		Connection connection = DriverManager.getConnection("jdbc:mysql://59.110.218.138:3306/group1?useUnicode=true&characterEncoding=UTF-8", "group1", "123");
		return connection;
	}
}
